<%@page import="com.wodwl.entity.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@include file="../templete/header.jsp" %>
	<style type="text/css">
		a{
			color: green; 
		}
	</style>
</head>
<body >

<%pageContext.setAttribute("linkType","1");%>
<%@include file="../templete/user_info.jsp"  %>

<% 
	User request_user=(User)request.getAttribute("request_user");
	if(request_user==null)
		request_user=user;
%>

			
			
		<div class="conR">
			<div class="conR-hd">
				<h3>我的基本信息</h3>
			</div>
				<ul>
					<li>用户名：<%=request_user.getUsername() %></li>
					<li>姓名：<%=request_user.getRealname() %></li>
					<li>研究方向：<%=request_user.getResearch() %></li>
					<li>手机：<%=request_user.getTel() %></li>
					<li>Email：<%=request_user.getEmail() %></li>
					<li>QQ：<%=request_user.getQq() %></li>
					<li>个人主页：<a href="<%=request_user.getWeb() %>"><%=request_user.getWeb() %></a></li>
					<li>微博：<a href="<%=request_user.getWeibo() %>"><%=request_user.getWeibo() %></a></li>
				</ul>
				<br/>
				<%
					if(user==request_user){
				%>
				<a href="/user/info_editor1.do?username=<%=user.getUsername()%>"><font color="green">编辑</font></a>
				<%} %>
				<p class="pager-wrap pageList">
					<span class="pageList-cur">1</span> <a href="#" class="link-lb">2</a>
					<a href="#" class="link-lb">3</a> <a class="link-lb" href="#">下一页</a>
				</p>
			</div>
		</div>
	<jsp:include page="../templete/footer.jsp"></jsp:include>
</body>
</html>